smartctl or hddtemp for xvda [on hold]

Posted by HST on Server Fault See other posts from Server Fault or by HST
Published on 2013-10-29T10:34:39Z Indexed on 2013/11/07 21:59 UTC
Read the original article Hit count: 400

Filed under:
|
|

I'm trying to check the state of the drives on a remote server running Debian wheezy. I'm using a software RAID10 on top of, I guess, xen, since the entries in /dev are /dev/xvda and /dev/xvdb

But it I try

smartctl -a /dev/xvda

I get

/dev/xvda: Unable to detect device type Smartctl: please specify device type with the -d option.

I've tried various device type guesses, none work

Similar problem with hddtemp, which reports

ERROR: /dev/xvda: can't determine bus type (or this bus type is unknown)

I've searched the smartmontools documentation, but can't find any discussion of virtual disks. . .

How do I get behind the virtualisation to something smart tools or hddtemp can work with?

© Server Fault or respective owner

Related posts about linux

Related posts about xen